package com.adopapa.nezhacloud.authc.domain;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface UserInfoRepository extends JpaRepository<UserInfo, String>, //
		JpaSpecificationExecutor<UserInfo> {

	List<UserInfo> findByLoginName(String loginName);

	List<UserInfo> findByDepartmentInfo(DepartmentInfo departmentInfo);

}
